package com.zueb.pojo;

public class Admin {
    private Integer adminId;
    private String adminName;
    private String password;
    private String adminRole;
    private Integer facultyId;
    private Faculty faculty;

    public Admin() {
    }

    public Admin(Integer adminId, String adminName, String password, String adminRole, Integer facultyId, Faculty faculty) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.password = password;
        this.adminRole = adminRole;
        this.facultyId = facultyId;
        this.faculty = faculty;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAdminRole() {
        return adminRole;
    }

    public void setAdminRole(String adminRole) {
        this.adminRole = adminRole;
    }

    public Integer getFacultyId() {
        return facultyId;
    }

    public void setFacultyId(Integer facultyId) {
        this.facultyId = facultyId;
    }

    public Faculty getFaculty() {
        return faculty;
    }

    public void setFaculty(Faculty faculty) {
        this.faculty = faculty;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", adminName='" + adminName + '\'' +
                ", password='" + password + '\'' +
                ", adminRole='" + adminRole + '\'' +
                ", facultyId=" + facultyId +
                ", faculty=" + faculty +
                '}';
    }
}

